import Api from '@assets/api_import';
import AppManage from '@assets/app_manage';
import ModelManage from '@assets/server_manage';
import {FC, ElementType} from 'react';
import wrapper from '@utils/index';

interface RouterProps {
  path: string,
  name?: string,
  component?: FC
}
const config: RouterProps[] =  [
  {
    path: '/app-manage',
    name: '应用管理',
    component: AppManage
  },
  {
    path: '/service-manage',
    name: '模型管理',
    component: ModelManage
  },
  {
    path: '/api',
    name: 'API管理',
    component: Api
  },
]

export default config;